import {
  ElInput,
  ElInputNumber,
  ElSelect,
  ElSwitch,
} from 'element-plus';

const components = [
  ElInput,
  ElInputNumber,
  ElSelect,
  ElSwitch,
];

const componentMap = new Map();

components.forEach((com) => {
  componentMap.set(`${com.name}`, com);
});

export { componentMap };
